#pragma once

#include "Utils/TimeoutNotifier.h"
#include "Business/RequestTimeout.h"

class FastBlockQueue;
class Arbitrage;

class RequestTimeoutCallback : public Callbackable
{
public:
	RequestTimeoutCallback(RequestTimeout const& requestTimeout, FastBlockQueue& queue);
	virtual ~RequestTimeoutCallback() {}
private:
	virtual void DoCallback();

	RequestTimeout m_requestTimeout;
	FastBlockQueue& m_queue;
};